<!-- -->
<!--这里用来写用户中心的页面-->
<template>
  <div class="user">
    <el-container>
      <el-main>
        <div class="userMain">
          <el-container>
            <el-aside width="150px">
              <UserAsideBar></UserAsideBar>
            </el-aside>
            <router-view />
          </el-container>
        </div>
      </el-main>
      <el-footer>版权所属：实训邦第六小组</el-footer>
    </el-container>
  </div>
</template>

<script>
import UserAsideBar from "@/components/UserAsideBar.vue";
export default {
  name: "User",
  data() {
    return {};
  },

  components: { UserAsideBar },

  filters: {},

  computed: {},

  methods: {}
};
</script>
<style scoped>
.user {
  height: 100%;
  width: 100%;
  padding-top: 60px;
  box-sizing: border-box;
}
.el-container {
  height: 100%;
  width: 100%;
}
.el-main {
  background-color: #e9eef3;
  color: #333;
  text-align: center;
  /* line-height: 160px; */
  overflow-x: hidden;
}
.el-main::-webkit-scrollbar {
  display: none;
}

.userMain {
  width: 70%;
  height: 100%;
  margin: 0;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  /* margin-top: 1%; */
  background-color: white;
}

.el-aside {
  height: 100%;
  background-color: #d3dce6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-footer {
  height: 60px;
  line-height: 60px;
  text-align: right;
  font-family: "微软雅黑";
  color: #0d1a2e;
}
</style>